package org.jeecg.modules.online.low.vo;

import lombok.Data;
import lombok.EqualsAndHashCode;
import org.jeecg.modules.online.low.entity.LowAppMenu;
import org.springframework.beans.BeanUtils;

import java.util.List;

/**
 * @author sunjianlei
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class LowAppMenuVo extends LowAppMenu {

    public LowAppMenuVo() {
    }

    public LowAppMenuVo(LowAppMenu menu) {
        BeanUtils.copyProperties(menu, this);
    }

    /**
     * online表单，主题模板
     */
    private String cgformThemeTemplate;

    /**
     * online表单，是否树
     */
    private String cgformIsTree;

    /**
     * type为分组时的子菜单
     */
    private List<LowAppMenuVo> children;

}
